package com.dkd.sbtz.domain.vo;

import lombok.Data;

import java.util.List;

@Data
public class MtPlanCreateReq {
    private Long assetId;
    private String title;
    private String planDate;      // "YYYY-MM-DD"
    private String planContent;
    private Integer needSpare;    // 0/1
    private List<PlanSpareItem> spares;
    private String status; // 新增：'OPEN' | 'GENERATED' | 'CANCELLED' | 'DONE'

    @Data
    public static class PlanSpareItem {
        private Long spareId;
        private Integer qty;      // >=1
    }
}
